﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Automapping.Alterations;
using TrilhaImovel.Core.Entities;
using FluentNHibernate.Automapping;

namespace TrilhaImovel.Data.NHibernateMaps
{
    public class GeocodingLogMap : IAutoMappingOverride<GeocodingLog>
    {
        public void Override(AutoMapping<GeocodingLog> mapping)
        {
            mapping.Table("GeocodingLog");

            mapping.Id(x => x.Id).Column("GeocodingLogId");
            mapping.Map(x => x.NumberOfAccess).Column("NumberOfAccess");
            mapping.Map(x => x.DayOfUse).Column("DayOfUse");
        }
    }
}
